﻿@model Portfolio.Models.Evento

@{
    ViewBag.Title = "Galeria de Fotos";
}

<div class="pagina" style="text-align: center;">

    <h2>@Model.NomeExibicao</h2>

    <div
        class="fotorama"
        data-fit="scaledown"
        data-nav="thumbs"
        data-thumbheight="70"
        data-thumbwidth="70"
        data-width="100%"
        data-height="80%"
        data-allowfullscreen="true">

        @foreach (var foto in Model.Fotos)
        {
            <img src="~/Images/@Model.IdCategoria/@Model.Id/@foto.NomeImagem" alt="" />
        }

    </div>

</div>

<script src="~/Scripts/UI/Fotos.js" type="text/javascript"></script>